//
//  shangpinlistViewController.h
//  BAOASystem
//
//  Created by michael on 2018/3/9.
//  Copyright © 2018年 czd. All rights reserved.
//
#import "PTLMenuButton.h"

#import "ViewController.h"

typedef enum {
  singleLineShowOneGoods,
    signleLineShowDoubleGoods,

}GoodsListShowType;
@interface shangpinlistViewController : ViewController<PTLMenuButtonDelegate,EVNCustomSearchBarDelegate,UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>
@property(nonatomic,assign)int totalCounts; //总条数
@property(nonatomic,assign)int currentPage; //当前
@property(nonatomic,assign)BOOL isSearching;
@property(nonatomic,assign)int lastPage;
@property(nonatomic,copy)NSString *searchstring;
@property (nonatomic,strong)NSString *ctgid;
@property (nonatomic,strong)NSString *areaid;

@property (strong, nonatomic)  UICollectionView *collectionView;
@property (nonatomic,strong)NSDictionary *dic;
@property (nonatomic,strong)NSMutableArray *dataArray;
@property (nonatomic,copy)NSString *type;
@property (nonatomic,strong)PTLMenuButton *btn;
@property (nonatomic,strong)UIButton *button;

@property (nonatomic,assign)GoodsListShowType  showType; //商品列表展现方式
@property (strong, nonatomic) EVNCustomSearchBar *searchBar;

@end
